﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using tactics.Interfaces;

namespace tactics.Commands
{
    class SelectAbilityCommand : BaseCommand
    {
        Abilities.Ability ability;

        public SelectAbilityCommand(Abilities.Ability abilityIn)
        {
            ability = abilityIn;
            Finished = false;
        }

        public override void Execute()
        {
            TacticsEngine.Instance.Game.Selection.SetAbilityToUse(ability);
            Finished = true;
        }
    }
}
